
'tp2wav.exe' was written in QB64 by Robert Hannan (emerson) Nov 13, 2022



This program converts data recorder files generated by Nestopia from raw PCM data to the WAVE file format. 
	Really all it does is add the WAVE header to the raw PCM file. It was created to help generate a
	computer program audio file my friend could use for their music project.


The program allows you the option of adjusting the wave file output gain. This is useful when playing
	the audio files through the headphone output on your pc instead of the line output.


Below are the minimum pc settings when testing converted 'lay.tp' wave files on my Famicom Twin. Testing 
	was done using stock motherboard audio ports and Audacity. The same settings applied to VLC with VLC 
	volume at 100% and adjusting pc volume. Your mileage may vary, but this at least gives you a benchmark
	to start with. Note that having the pc volume too high is just as bad as having it too low. Just play
	around with the pc volume settings until you get it to work. 

	+0dB gain:	line out, 65% pc volume
				headphone out, would not load
				
	+18dB gain:	line out, 55%
				headphone out, 65% pc volume
	
	
The QB64 source file is included so others can expand on it or customize for their needs. I do not
	intend to expand on it further.